#!/usr/bin/env python
# -*- encoding: utf-8 -*-

import nonebot
from . import config

__version__ = '1.2.0'


def init() -> nonebot.NoneBot:
    nonebot.init(config)
    nonebot.load_builtin_plugins()
    puggibot = nonebot.get_bot()
    return puggibot
